TODO: Add a max depth for tags.

TODO: Add functions to validate the values of tag attributes, especially
href and src.

TODO: HTML entity-encode error messages? HTML entity encode text elements.

TODO: Add option to allow people to throw away text elements that
immediately depend on banned elements (e.g. the entire text of a
<script>...</script> tag).

